<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="/Home/css/style.css" />
    <!--[if IE 6]>
    <script src="/Home/js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->    
    <script type="text/javascript" src="/Home/js/jquery-1.11.1.min_044d0927.js"></script>
    <script type="text/javascript" src="/Home/js/jquery.bxslider_e88acd1b.js"></script>
    
    <script type="text/javascript" src="/Home/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/Home/js/menu.js"></script>    
            
    <script type="text/javascript" src="/Home/js/lrscroll_1.js"></script>
    
    
    <script type="text/javascript" src="/Home/js/n_nav.js"></script>    
    <script type="text/javascript" src="/Home/js/milk_ban.js"></script>
    <script type="text/javascript" src="/Home/js/paper_ban.js"></script>
    <script type="text/javascript" src="/Home/js/baby_ban.js"></script>
    
<title>尤洪</title>
</head>
<body>  
<!--Begin Header Begin-->
@include('Home.parent')
<div class="top">
    <div class="logo"><a href="http://www.nbshop.com/home/index"><img src="/Home/images/logo.png" /></a></div>
    <div class="search">
        <form action="http://www.nbshop.com/home/search" method="post">
            {!! csrf_field() !!}
            <input type="text" value="" name="keyword" class="s_ipt" />
            <input type="submit" value="搜索" class="s_btn" />
        </form>                       
    </div>
    <div class="i_car">
        <div class="car_t">购物车 [ <span>3</span> ]</div>
        <div class="car_bg">
            <!--Begin 购物车未登录 Begin-->
            <div class="un_login">还未登录！<a href="login" style="color:#ff4e00;">马上登录</a> 查看购物车！</div>
            <!--End 购物车未登录 End-->
            <!--Begin 购物车已登录 Begin-->
            <ul class="cars">
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/car1.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">法颂浪漫梦境50ML 香水女士持久清新淡香 送2ML小样3只</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
            </ul>
            <div class="price_sum">共计&nbsp; <font color="#ff4e00">￥</font><span>1058</span></div>
            <div class="price_a"><a href="#">去购物车结算</a></div>
            <!--End 购物车已登录 End-->
        </div>
    </div>
</div>
<!--End Header End--> 
<!--Begin Menu Begin-->
<div class="menu_bg">
    <div class="menu">
        @include('Home.menu')
    </div>
</div>

<!--End Menu End--> 
<div class="i_bg">
    
    <div class="content mar_20">
        <div class="l_history">
            <div class="his_t">
                <span class="fl">浏览历史</span>
                <span class="fr"><a href="#">清空</a></span>
            </div>
            <ul>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_1.jpg" width="185" height="162" /></a></div>
                    <div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                        <font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_2.jpg" width="185" height="162" /></a></div>
                    <div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                        <font>￥<span>768.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_3.jpg" width="185" height="162" /></a></div>
                    <div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                        <font>￥<span>680.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_4.jpg" width="185" height="162" /></a></div>
                    <div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                        <font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
                <li>
                    <div class="img"><a href="#"><img src="/Home/images/his_5.jpg" width="185" height="162" /></a></div>
                    <div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                        <font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
            </ul>
        </div>
        <div class="l_list">
            <table border="0" style="width:100%; margin-bottom:30px; border:1px solid #eaeaea;" cellspacing="0" cellpadding="0">
              <tr valign="top">
                <td width="248"><div class="brand_img"><img src="{{$brandOne->brand_logo}}" width="226" height="108" /></div></td>
                <td class="td_b" style="padding:15px 40px;">
                   {{$brandOne->brand_info}}
                </td>
              </tr>
            </table>
            <div class="list_t">
                <span class="fl list_or">
                @if($class == 'now')
                    <a href="/home/brandlist/{{$brandOne->brand_id}}" class="now">默认</a>
                    <a href="/home/brand_hot/{{$brandOne->brand_id}}" >热销</a>
                    <a href="/home/brand_new/{{$brandOne->brand_id}}" >新品</a>
                @elseif($class == 'hotnow')
                    <a href="/home/brandlist/{{$brandOne->brand_id}}" >默认</a>
                    <a href="/home/brand_hot/{{$brandOne->brand_id}}" class="now" >热销</a>
                    <a href="/home/brand_new/{{$brandOne->brand_id}}" >新品</a>
                @else
                    <a href="/home/brandlist/{{$brandOne->brand_id}}" >默认</a>
                    <a href="/home/brand_hot/{{$brandOne->brand_id}}" >热销</a>
                    <a href="/home/brand_new/{{$brandOne->brand_id}}" class="now">新品</a>
                @endif

                </span>
            </div>
            <div class="list_c">
                <ul class="cate_list">
                @foreach($goodsList as $v)
                    <li>
                        <div class="img"><a href="/home/product/{{$v->goods_id}}"><img src="{{$v->goods_img}}" width="210" height="185" /></a></div>
                        <div class="price">
                            <font>￥<span>{{$v->goods_price}}</span></font>
                        </div>
                        <div class="name"><a href="/home/product/{{$v->goods_id}}">{{$v->goods_name}}</a></div>
                        <div class="carbg">
                            <a href="/home/addcollect/{{$v->goods_id}}" class="ss">收藏</a>
                            <!-- <a href="#" class="j_car">加入购物车</a> -->
                        </div>
                    </li>
                @endforeach
                </ul>
                <div class="pages">
                    <a href="#" class="p_pre">上一页</a><a href="#" class="cur">1</a><a href="#">2</a><a href="#">3</a>...<a href="#">20</a><a href="#" class="p_pre">下一页</a>
                </div>
            </div>
        </div>
    </div>
    
    <!--Begin Footer Begin -->
    <div class="b_btm_bg bg_color">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b1.png" width="62" height="62" /></td>
                <td><h2>正品保障</h2>正品行货  放心购买</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b2.png" width="62" height="62" /></td>
                <td><h2>满38包邮</h2>满38包邮 免运费</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b3.png" width="62" height="62" /></td>
                <td><h2>天天低价</h2>天天低价 畅选无忧</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b4.png" width="62" height="62" /></td>
                <td><h2>准时送达</h2>收货时间由你做主</td>
              </tr>
            </table>
        </div>
    </div>
            <!-- 友情链接 -->
@include('Home.foot')
</div>

</body>

</html>
<script>
 $('.fl a').click(function(){
    $(this).hasClass('now') ? $(this).removeClass('now') : $(this).addClass('now');   // 当前标签变红
    $(this).siblings().removeClass('now');    
})

</script>
